﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BI.CF.Model;
using BI.CF.IDAL;
using BI.CF.DAL;

namespace BI.CF.Factory
{
    public class SqlServer : CF_Factory
    {

        /// <summary>
        /// 广告显示
        /// </summary>
        /// <returns></returns>
        public override BulletinIDAL BulletinFactry()
        {
            return new BulletinDAL();
        }

        public override MyAccountIDAL MemPropertyFAC()
        {
            return new MyAccountDAL();
        }

        /// <summary>
        /// 重写实名审核抽象类
        /// </summary>
        /// <returns></returns>
        public override Autonym_IDAL IAutonym_Server()
        {
            return new Autonym_DAL();
        }
       
        /// <summary>
        /// 重写抵押资产抽象类
        /// </summary>
        /// <returns></returns>
        public override Record_IDAL IRecord_Server()
        {
            return new Record_DAL();
        }
        /// <summary>
        /// 信用标
        /// </summary>
        /// <returns></returns>
        public override MemLoanIDAL MemLoanFactry()
        {
            return new MemLoanDAL();
        }
        public override LoginRecordIDAL LoginRecordSQL()
        {
            return new LoginRecord_DAL();
        }

        public override UserIDAL UserrsSQL()
        {
            return new UserDAL();
        }
        /// <summary>
        /// 重写投资抽象类
        /// </summary>
        /// <returns></returns>
        public override MemInvest_IDAL IMemInvest_Server()
        {
            return new MemInvest_DAL();
        }
        /// <summary>
        /// 会员
        /// </summary>
        /// <returns></returns>
        public override UsersIDAL UsersFactry()
        {
            return new UsersDAL();
        }

        /// <summary>
        /// 平台收益
        /// </summary>
        /// <returns></returns>
        public override PRDetailsIDAL PRDetailsFactry()
        {
            return new PRDetailsDAL();
        }
        /// <summary>
        /// 重写投资收益抽象类
        /// </summary>
        /// <returns></returns>
        public override MemIncome_IDAL IMemIncome_Server()
        {
            return new MemIncome_DAL();
        }
        /// <summary>
        /// 还款
        /// </summary>
        /// <returns></returns>
        /// <summary>
        /// 还款明细抽象类
        /// </summary>
        /// <returns></returns>

        public override RepayDetailedIDAL RepayDetailedSQL()
        {
            return new RepayDetailedDAL();
        }
        /// <summary>
        /// 投资
        /// </summary>
        /// <returns></returns>
        public override InvestIDAL InvestIDAL_Factory()
        {
            return new Invest_DAL();
        }

        public override InvestGuanLi_IDAL InvestGuanLiIDAL_Factory()
        {
            return new InvestGuanLi_DAL();
        }
 		/// <summary>
        /// 后台员工
        /// </summary>
        /// <returns></returns>
        public override Admin_Idal Admin_Factory()
        {
            return new Admin_Dal();
        }

		
    }
}
